ARM: dts: armada-38x: Fix irq type for pca955
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 12 Jul 2017 11:23:11 +0000 (13:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 15:49:30 +0000 (08:49 -0700)
commitff603e017bee376dbc730924bbf4e554a719100f
tree0eaac63b40bc37f57ae2bdcb74ecdd1564ce844d
parent12353a00df25d5c8da8de8c60b705e5ccc436cfe
ARM: dts: armada-38x: Fix irq type for pca955

commit 8d4514173211586c6238629b1ef1e071927735f5 upstream.

As written in the datasheet the PCA955 can only handle low level irq and
not edge irq.

Without this fix the interrupt is not usable for pca955: the gpio-pca953x
driver already set the irq type as low level which is incompatible with
edge type, then the kernel prevents using the interrupt:

"irq: type mismatch, failed to map hwirq-18 for
/soc/internal-regs/gpio@18100!"

Fixes: 928413bd859c ("ARM: mvebu: Add Armada 388 General Purpose
Development Board support")
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/boot/dts/armada-388-gp.dts